package com.brayan.melinxa;

import com.brayan.melinxa.SystemStatus;

public class StatusMapper {
	public static SystemStatus getStatusByBoolean(Boolean activated) {
		if (activated == null)
			return SystemStatus.ERROR;
		else if (activated)
			return SystemStatus.ACTIVATED;
		else
			return SystemStatus.DEACTIVATED;
	}
}
